package com.zzzy.common.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * Description: 分页通用查询条件类
 *
 * @author fc
 * @date 2024/4/19
 */
@Schema(description="分页参数")
@Setter
@Getter
public class PageParam implements Serializable {
    private static final long serialVersionUID = 9052537779825190682L;

    @Schema(description = "当前页码，默认 1", example = "1")
    private Integer pageNum = 1;

    @Schema(description = "每页数据量，默认 10", example = "10")
    private Integer pageSize = 10;

}
